Skip to content

Lidar-odometry localization + dedicated mote_simulation package#11

Merged
MJohnson459 merged 1 commit into
mainfrom
localization-sim-package
Jun 25, 2026
Merged

Lidar-odometry localization + dedicated mote_simulation package#11
MJohnson459 merged 1 commit into
mainfrom
localization-sim-package

Conversation

@MJohnson459

Copy link
Copy Markdown
Contributor

Summary

Introduces the lidar-odometry localization architecture (shared by the real robot and the sim) and extracts all simulation assets into a dedicated, workstation-only mote_simulation package.

Localization

  • kinematic_icp now owns the odom -> base transform.
  • Wheel odometry reaches it as a motion prior via a new odom_tf_relay node, which republishes the inverted wheel pose as a base_footprint -> odom_wheel leaf.
  • localization_launch.py runs both nodes and accepts use_sim_time.
  • diff_drive_controller no longer publishes the odom TF (enable_odom_tf: false).

Simulation

  • Moved sim_launch.py, the worlds, and the smoke test out of mote_bringup into a new mote_simulation package, excluded from the robot sync and built only in the sim pixi environment.
  • sim_launch.py includes the shared localization_launch.py and pulls controllers/laser-filter config from mote_bringup, so the sim and robot run the same localization stack.
  • Selectable world:= arg; adds office_world.sdf (hospital-ward stress layout).

Test plan

  • pixi run sim-test passes: drive (0.600 m forward, 2.000 rad spin), 10 Hz scan with 720/720 finite ranges, slam_toolbox builds a 116x116 map.

🤖 Generated with Claude Code

Localization (shared by the real robot and the sim):
- kinematic_icp owns the odom->base transform; wheel odometry reaches it
  as a motion prior via a new odom_tf_relay node, which republishes the
  inverted wheel pose as a base_footprint->odom_wheel leaf
- localization_launch.py runs both nodes and accepts use_sim_time
- diff_drive_controller no longer publishes the odom TF (enable_odom_tf:
  false) since kinematic_icp now owns that edge

Simulation:
- move sim_launch.py, the worlds, and the smoke test out of mote_bringup
  into a new workstation-only mote_simulation package (excluded from the
  robot sync, built only in the sim pixi environment)
- sim_launch.py includes the shared localization_launch.py and pulls
  controllers/laser_filter config from mote_bringup, so the sim and the
  robot run the same localization stack
- selectable world arg; add office_world.sdf (hospital-ward stress layout)

Verified with pixi run sim-test (drive, odometry, scan, and slam map).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QXgJsGhCMsQ2yf4js6dDqo
@MJohnson459 MJohnson459 merged commit 562c10b into main Jun 25, 2026
2 checks passed
@MJohnson459 MJohnson459 deleted the localization-sim-package branch June 25, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant